import request from '@/utils/request'

// 查询运行日志列表
export function listWdRunLog(query) {
  return request({
    url: '/wd/runlog/wdRunLog/list',
    method: 'get',
    params: query
  })
}
// 查询运行日志统计分析列表
export function listCount(query) {
  return request({
    url: '/wd/runlog/wdRunLog/count/list',
    method: 'get',
    params: query
  })
}
// 查询运行日志详细
export function getWdRunLog(id) {
  return request({
    url: '/wd/runlog/wdRunLog/' + id,
    method: 'get'
  })
}

// 新增运行日志
export function addWdRunLog(data) {
  return request({
    url: '/wd/runlog/wdRunLog',
    method: 'post',
    data: data
  })
}

// 修改运行日志
export function updateWdRunLog(data) {
  return request({
    url: '/wd/runlog/wdRunLog',
    method: 'put',
    data: data
  })
}

// 删除运行日志
export function delWdRunLog(id) {
  return request({
    url: '/wd/runlog/wdRunLog/' + id,
    method: 'delete'
  })
}
